#include <stdio.h>

int main(int argc, const char *argv[])
{
	char s1[32] = "hqyj";
	char s2[32] = "hello world";
	printf("s1 = %s\n", s1);
	printf("s2 = %s\n", s2);
	printf("------------------------------\n");

	int i = 0;
	int j = 0;

	while(s1[i]!='\0'){
		j++;
		i++;
	}

	i = 0;
	while(s2[i]){
		s1[j + i] = s2[i];
		i++;
	}
	s1[j + i] = s2[i];

	printf("s1 = %s\n", s1);
	printf("s2 = %s\n", s2);

	return 0;
}
